package com.mszlu.blog.service;


import com.mszlu.blog.dao.pojo.Tag;
import com.mszlu.blog.vo.Result;
import com.mszlu.blog.vo.TagVo;
import com.mszlu.blog.vo.params.TagPageParam;

import java.util.List;

public interface TagService {
    List<TagVo> findTagsByArticleId(Long id);

    Result hot(int limit);

    Result findAll();

    //标签文章列表
    Result findDetailById(Long id);

    Result getTagAll(TagPageParam params);

    Result deleteTagById(Long id);

    Result UpdateTagById(Tag tag);

    Result addTag(Tag tag);
}
